<template>
  <div v-show="true">
    <div>
      <el-card class="box-card">
        <Sideline v-for="item in sidelines" :info="item" :key="item.id"></Sideline>
      </el-card>
    </div>
  </div>
</template>

<script>
import Sideline from '../components/Sideline'
export default {
  components: {
    Sideline
  },
  name: 'list',
  data () {
    return {
      sidelines: []
    }
  },
  created () {
    this.$axios({
      method: 'get',
      url: 'http://localhost:9007'
    }).then((response) => {
      this.sidelines = response.data.data
    }).catch((error) => {
      console.log(error)
    })
  }
}
</script>

<style scoped>

</style>
